﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>花样链接卡</title>
    <style>
        .box{
            border: 1px solid pink;
            width: 322px;
            height: 322px;
            padding: 10px;
            box-sizing: border-box;
        }
        a{
            display: block;
            background: pink;
            width: 100px;
            height: 100px;
            line-height: 100px;
            position: relative;
            text-align: center;
            color: white;
            text-decoration: none;
        }
        a:nth-of-type(even){
            left: 200px;
            top: -100px;
        }
        a:last-child{
            left: 100px;
            top: -300px;
        }
        a:hover{
            background: blue;
        }
    </style>
</head>
<body>
  <div class="box">
      <a href="#">链接1</a>
      <a href="#">链接2</a>
      <a href="#">链接3</a>
      <a href="#">链接4</a>
      <a href="#">链接5</a>
  </div>
</body>
</html>